<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>

<%
	request.setAttribute("title","任务详情");
	request.setAttribute("modelConfigPath", "groupActivity");
%>

<%@ include file="/WEB-INF/views/shared/master/contentHeader.jsp"%>
<%@ include file="/WEB-INF/views/shared/css/limitless/default/animate.jsp"%>
<style type="text/css">
.form-detailed .form-group{
	margin-bottom: 6px !important;
	padding-bottom: 6px !important;
}

.upload-view-delete-file:hover{
	background-color: #397B93 !important;
}
.upload-view-file-item:hover{
	background-color: #ddd;
}
</style>

<t:panel cssClass="panel-flat form-detailed" customBody="true" customHead="true">
	<div class="detailed-navbar-content panel-body"> 
		<t:form commandName="schedule" action="/admin/groupActivity/schedule/save" method="post" cssClass="form-horizontal">
			<div class="hide"> 
				<t:hidden path ="taskId"/> 
			</div>
			<t:formgroup>
				<t:label path="taskName" cssClass="col-sm-2"/>
				<t:input path="taskName" colClass="col-sm-4"/>
				<t:label path="semester" cssClass="col-sm-2" />
				<t:input path="semester" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="employeeId" cssClass="col-sm-2" />
				<t:select2 path="employeeId" placeholder="选择学生" allowClear="true" colClass="col-sm-4" />
				<t:label path="publisherId" cssClass="col-sm-2" />
				<t:select2 path="publisherId" placeholder="选择导师" allowClear="true" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="publishDate" cssClass="col-sm-2"/>
				<t:date path="publishDate" colClass="col-sm-4"/>
				<t:label path="finishDate" cssClass="col-sm-2"/>
				<t:date path="finishDate" colClass="col-sm-4"/>
			</t:formgroup>
			<t:formgroup>
				<t:label path="process" cssClass="col-sm-2" />
				<t:input path="process" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="comments" cssClass="col-sm-2" />
				<t:textarea path="comments" rows="3" colClass="col-sm-10" />
			</t:formgroup>
		</t:form>
	</div>
</t:panel>

<script type="text/javascript">
	
	function saveData(lBtn){
		if (!$("form:first").valid()){
			return;
		}
		lBtn.start();
		$("form:first").submit();
	}

</script>
<%@ include file="/WEB-INF/views/shared/base/scripts/jqueryui.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formstyling.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formpickers.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formbuttons.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/forminputs.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/dialog.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/contentFooter.jsp"%>
